// 抽离相同的复用功能
export default {
  data() {
    return {
      list: [],
      queryData: {
        page: 1,
      },
      desc: "来自黑马武哥的关怀",
    };
  },
  created() {
    this.initData();
  },
  methods: {
    currentChange(val) {
      this.queryData.page = val;
      this.initData();
    },
  },
};
